const propList = [
  { prop: 'name', label: '菜单名称', minWidth: '180' },
  { prop: 'type', label: '类型', minWidth: '60' },
  { prop: 'url', label: '菜单url', minWidth: '100' },
  { prop: 'permission', label: '按钮权限', minWidth: '100' },
  {
    prop: 'createAt',
    label: '创建时间',
    minWidth: '250',
    slotName: 'createAt'
  },
  {
    prop: 'updateAt',
    label: '更新时间',
    minWidth: '250',
    slotName: 'updateAt'
  },
  {
    label:'操作',
    minWidth:'120',
    slotName:'handler'
  }
]

export const contentTableConfig = {
  title : '菜单列表',
  propList:propList,
  showIndexColumn:false,
  showSelectColumn:false,
  childrenProps:{
    rowKey:'id',
    treeProp:{
      children:'children'
    }
  },
  showFooter:false
}